home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextGetTopCharacter.z
/
XmTextGetTopCharacter
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr - A Text function that accesses the
position of the first character displayed
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr accesses the position of the text at
the top of the Text widget. If there is no text in the Text
widget (in other words, XXXXmmmmNNNNvvvvaaaalllluuuueeee contains an empty string),
then XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr returns 0.
Suppose that the XXXXmmmmNNNNttttooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr resource has been set to a
value greater than the number of characters in the text
widget. In this case, XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr returns an
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn value identifying the position of the first
character in the last line of text in a multiline case;
otherwise, it identifies the position of the last character
in the line.
_w_i_d_g_e_t Specifies the Text widget ID
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
Returns an XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn value that indicates the state of
the XXXXmmmmNNNNttttooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr resource. This is an integer number of
characters from the beginning of the text buffer. The first
character position is 0 (zero).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3).
Page 1 (printed 10/24/98)